package com.zfei.gfb.service;

import com.zfei.gfb.HouseService;
import com.zfei.gfb.dao.GfbHouseMapper;
import com.zfei.gfb.model.GfbHouse;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;


@Component
public class HouseServiceImpl implements HouseService {

    @Resource
    private GfbHouseMapper houseMapper;


    @Override
    public GfbHouse detail(int id) {
        return houseMapper.selectByPrimaryKey(id);
    }
}
